﻿<form class="layui-form model-form" action="">
    <input name="id" id="id" type="hidden" value="{$info.id|default=0}">
        
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">客户名称：</label>
            <div class="layui-input-inline">
            
                <input placeholder="请选择客户" class="layui-input" id="selectInput" autocomplete="off" value="{$info['company_name']|default=''}">
                <input type="hidden" name="company_id" id="company_id" value="{$info['company_id']|default=''}">
            
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">合同编号：</label>
            <div class="layui-input-inline">
            
                <select name="contract_id" id="contract_id" lay-verify="" class="layui-input">
                    {notempty name="contractInfo"}
                    <option value="{$contractInfo.id}">{$contractInfo.contract_no}</option>
                    {/notempty}
                </select>
            
            </div>
        </div>
        
    </div>
            
    <div class="layui-form-item" style="width:625px;">
            <label class="layui-form-label">项目名称：</label>
            <div class="layui-input-block">
            
                <input name="project_name" value="{$info['project_name']|default=''}" lay-verify="required" autocomplete="off" placeholder="请输入项目名称" class="layui-input" type="text">
            
            </div>
    </div>
            
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">项目进度：</label>
            <div class="layui-input-inline">
                {common:select param="speed|0|项目进度|name|id" data="0=待申报,2=申报中,1=已公示,3=未通过" value="isset($info['speed']) ? $info['speed'] : 9"}
            </div>
        </div>
        
        <div class="layui-inline">
            <label class="layui-form-label">项目编号：</label>
            <div class="layui-input-inline">
            
                <input name="project_number" value="{$info['project_number']|default=''}" lay-verify="required" autocomplete="off" placeholder="请输入案件编号" class="layui-input" type="text">
            
            </div>
        </div>
        
    </div>
            
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">申报日期：</label>
            <div class="layui-input-inline">
            
                {date:select param="apply_date|申报日期|date" value="$info['apply_date']|default=''"}
            
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">公示日期：</label>
            <div class="layui-input-inline">
            
                {date:select param="register_date|公示日期|date" value="$info['register_date']|default=''"}
            
            </div>
        </div>
        
    </div>
            
    <div class="layui-form-item" style="width:625px;">
            <label class="layui-form-label">备注：</label>
            <div class="layui-input-block">

                <textarea name="remark" class="layui-textarea">{$info['remark']|default=''}</textarea>
            
            </div>
    </div>
        
    {widget:submit name="submit|立即保存,close|关闭"}
</form>
<style>
ul.layui-menu.layui-dropdown-menu {
    max-height: 300px;
    width: 200px;
    overflow-x: hidden;
}
</style>